<template>
  <div>
    <div class="circle" @click="clickHandler">
      <div v-show="value" class="inner-circle"></div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    value:Boolean
  },
  methods:{
    clickHandler(){
      this.$emit('input',!this.value)
    }
  }
};
</script>

<style lang='less' scoped>
.circle {
  width: 50px;
  height: 50px;
  border: 3px solid lightblue;
  display: flex;
  justify-content: center;
  align-items: center;
 border-radius: 50%;
  .inner-circle {
    width: 20px;
    height: 20px;
    border: 3px solid lightblue;
    background: lawngreen;
  }
}
</style>